/*******************************************************************************
 * Copyright (c) 2010 itemis AG (http://www.itemis.eu) and others.
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * SPDX-License-Identifier: EPL-2.0
 *******************************************************************************/
package org.eclipse.xtext.ui.refactoring.impl;


/**
 * A convenient way to stop calculation of refactoring changes.
 * 
 * The message will be reported to the {@link org.eclipse.ltk.core.refactoring.RefactoringStatus} and thus to the UI.
 * For any other exception, the stack trace is logged to the console additionally.
 * 
 * @author Jan Koehnlein - Initial contribution and API
 */
public class RefactoringException extends RuntimeException {

	private static final long serialVersionUID = 6796021485044787459L;
	
	public RefactoringException(String message) {
		super(message);
	}

	public RefactoringException(Exception cause) {
		super(cause);
	}
}